﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Policy;

namespace Poonkt.Interfaces
{
    public interface ISearchQuery
    {
        public string OriginalQuery
        {
            get;
        }
    }


    public interface IPoonktSearch
    {
        Boolean Search(ref IPoonktSearchResult poonktSearchResult, ISearchQuery searchQuery);
    }

    public delegate void ShowAnswer(IAnswerSet answerSet);

    public interface IPoonktSearchResult
    {
        event ShowAnswer OnUpdate;
        event ShowAnswer OnFinish;

        public void UpdateAnswerList(IAnswerList answerList);
    }

    public interface IAnswerList
    {
        public void AddAnswer(IAnswer answer);
    }

    public interface IAnswer
    {
    }

    public interface IUrlList
    {
        public void AddUrl(Url url);
    }

    public interface IExternalSearchEngine
    {
        public void Search(IUrlList ISearchQuery searchQuery);
    }


    }
}
